/**
 * Package:com.afteryuan.server.support;
 * $Id: MovingSupport.java,v 1.12 2008/09/19 03:07:10 yangc Exp $
 * Copyright(c) 2001-2005 www.afteryuan.com
 */
package com.afteryuan.server.support;

import com.afteryuan.server.command.model.Pane;

import java.util.List;

/**
 * MovingSupport
 * <p/>
 * <p><a href="MovingSupport.java.html"><i>View Source</i></a></p>
 * <p>人物寻路</p>
 *
 * @author <a href="mailto:afteryuan@afteryuan.com">$Author: yangc $</a>
 * @version $Revision: 1.12 $
 */
public interface MovingSupport {


    /**
     * 根据起点和终点返回其移动路径数组
     *
     * @param sceneId 场景ID
     * @param start   起点
     * @param target  终点
     * @return 路径Pane列表
     */
    List<Pane> movingPath(String sceneId, Point start, Point target);
    /**
      * 根据起点和终点返回其移动路径数组
      *
      * @param sceneId 场景ID
      * @param start   起点
      * @param target  终点
      * @return Pane[] 一段方向数组
      */
     Pane[] movingPathArray(String sceneId, Point start, Point target);

}
